<template>
	<view style="background-color: #fff;width: 100%;height: 100%;padding: 20rpx;">
		<!-- <view :style="`width: 80%;background-color: #fff;display: flex;border-radius: 5px;height: 140px;align-items: center;justify-content: space-between;margin: 0 auto;margin-top: 10px;
			`" @click="userclick">
			<view style="display: flex;align-items: center;">
				<image src="../../static/menuIcon/my.png"
					style="width: 150rpx;height: 150rpx;margin-right: 20px;border-radius: 50%;border: 1px solid #ccc;">

				</image>

				<text style="font-size: 14px;">欢迎您，xxxxx</text>
			</view>
			<view>
				<uni-icons type="forward" size="16"></uni-icons>
			</view>
		</view> -->
		<list text='项目列表' @tabclick="listclick"></list>
		<list text='任务列表' @tabclick="renwuclick"></list>
		<list text='报告'></list>
		<!-- <movable-area style="width: 100%;height: 500px;border: 1px solid red;">
			<movable-view direction="all">123456789</movable-view>
		</movable-area> -->
		<!-- <list text='我参与的项目'></list> -->

	</view>
</template>

<script>
	import list from './list.vue'
	export default {
		components: {
			list
		},
		data() {
			return {

			}
		},
		// onBackPress() {
		// 	uni.redirectTo({
		// 		url: '/pages/List/ProjectList'
		// 	})
		// 	return true;
		// },
		onNavigationBarButtonTap(e) {
			console.log(e)
			uni.navigateTo({
				url: '/pages/user/user'
			})
			return true;
		},
		methods: {
			userclick() {
				uni.navigateTo({
					url: '/pages/user/user'
				})
			},
			renwuclick() {
				uni.navigateTo({
					url: '/pages/List/cPage/Application'
				})
			},
			listclick() {
				uni.navigateTo({
					url: '/pages/List/ProjectList'
				})
				console.log(123)
			}
		}
	}
</script>

<style>

</style>
